/**
 * HttpHeader
 * @author 冰凝
 * @date 2022-07-01 下午 05:16
 **/
export type HttpRequestHeader = Record<RequestHeader | string, HttpHeaderValue> | Map<RequestHeader | string, HttpHeaderValue>
export type HttpResponseHeader = Record<ResponseHeader | string, HttpHeaderValue> | Map<ResponseHeader | string, HttpHeaderValue>

export type HttpHeaderValue = string | number | boolean | Array<string>

/**
 * 标准请求 header
 */
export enum RequestHeader {
    ACCEPT = 'ACCEPT',
    'Context-type' = 'Context-type',
    // TODO: ....
}

/**
 * 标准响应 header
 */
export enum ResponseHeader {
    // TODO: ...
}
